package com.ca.demo.controller.maintain;

import com.ca.demo.common.IdWorker;
import com.ca.demo.common.base.BaseEntity;

import javax.persistence.Table;

/**
 * @Author XieLei
 * @Date 2017/6/26 16:28
 */
@Table(name = "maintain_icon")
public class Icon extends BaseEntity<Long> {

    private String displayName;

    private String className;

    private String sourceType;

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    @Override
    protected Long newId() {
        return IdWorker.getId();
    }
}
